<?php

/* qc-factory cate */
class QcfactoryModel extends BaseModel
{
    var $table  = 'qc_factory';
    var $prikey = 'id';
    var $_name  = 'qf';
	
    var $_relation = array(
    	'belongs_to_qc_name'=>array(
    		'model'         => 'member',
    		'type'          => BELONGS_TO,
    		'foreign_key'   => 'user_id',
    		'reverse'       => 'has_qc_name'
    	)
	);
}

?>